//
//  NormalShopGoodsModel.h
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/8/8.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BuyCarModel.h"

@interface NormalShopGoodsModel : NSObject

@property (nonatomic, strong) NSString *type;
@property (nonatomic,strong) NSString *thumbnailUrl;
@property (nonatomic,strong) NSString *productNo;
@property (nonatomic,strong) NSString *name;
@property (nonatomic,strong) NSString *subtitle;
@property (nonatomic,assign) float price;
@property (nonatomic,assign) float freightInMaxCount;//首件运费价格
@property (nonatomic,assign) float freightInEveryAdd;//每增加一件的运费
@property (nonatomic,assign) NSInteger total;
@property (nonatomic,strong) NSString *access;

@property (nonatomic,assign) NSInteger avgStartLevel;
@property (nonatomic,strong) NSString *bannerType;
@property (nonatomic,strong) NSString *distance;
@property (nonatomic,assign) NSInteger freightMaxCount;

@property (nonatomic,assign) NSInteger role;

//-------购物车的------------
@property (nonatomic,assign) NSInteger productInShopCarCount;//商品数量
@property (nonatomic,assign) NSInteger residualStock;//库存
@property (nonatomic,strong) NSString *shopId;
@property (nonatomic,assign) NSInteger status;
@property (nonatomic,assign) BOOL isSelect;
//记录上层model
@property (nonatomic,strong) BuyCarModel *superModel;

+ (instancetype)objectWithDict:(NSDictionary *)dict;

@end
